package com.shycloud.mido.organ.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 *  机构购买套餐
 * @author yyy
 */
@Data
@TableName("org_org_package")
@EqualsAndHashCode(callSuper = true)
public class OrgPackageEntity extends Model<OrgPackageEntity> {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId(value = "id", type = IdType.UUID)
	private String id;
	/**
	 * 机构ID
	 */
	private String orgId;
	/**
	 * 套餐名称
	 */
	private String packageName;
	/**
	 * 总价格
	 */
	private BigDecimal total;
	/**
	 * 创建者
	 */
	private String createUser;
	/**
	 * 创建者
	 */
	private LocalDateTime createTime;

}
